
# Set-up ------------------------------------------------------------------

source("01_setup.R",echo = TRUE)
source("02_function.R",echo = TRUE)
source("03_party_systems.R",echo = TRUE)
source("04_citizen_support.R",echo = TRUE) # takes ~ 3.5 (model 5) + ~ 3.5 (model 6) = ~ 7 hours to run
source("05_merging.R",echo = TRUE)

# Main --------------------------------------------------------------------

# Tables
 
source("tab_1.R",echo = TRUE)
source("tab_2.R",echo = TRUE)
source("tab_3.R",echo = TRUE)

# Figures

source("fig_1.R",echo = TRUE)
source("fig_2.R",echo = TRUE)

# Appendix ----------------------------------------------------------------

# Tables

source("tab_c1.R",echo = TRUE)
source("tab_d1.R",echo = TRUE)
source("tab_e1.R",echo = TRUE)
source("tab_e2.R",echo = TRUE)
source("tab_e3.R",echo = TRUE)
source("tab_e4.R",echo = TRUE)
source("tab_e5.R",echo = TRUE)
source("tab_e6.R",echo = TRUE)
source("tab_e7.R",echo = TRUE)
source("tab_f1.R",echo = TRUE)

# Figures

source("fig_a1.R",echo = TRUE)
source("fig_a2.R",echo = TRUE)
source("fig_a3.R",echo = TRUE)
source("fig_a4.R",echo = TRUE)
source("fig_b1.R",echo = TRUE)
source("fig_c1.R",echo = TRUE)
source("fig_d1.R",echo = TRUE)
source("fig_e1.R",echo = TRUE)
source("fig_e2.R",echo = TRUE)
source("fig_e3.R",echo = TRUE)
source("fig_e4.R",echo = TRUE)
source("fig_e5.R",echo = TRUE)
source("fig_e6.R",echo = TRUE)
source("fig_e7.R",echo = TRUE)
source("fig_e8.R",echo = TRUE)
source("fig_e9.R",echo = TRUE)
source("fig_e10.R",echo = TRUE)
source("fig_f1.R",echo = TRUE)
